buildtools: only use the ABI based version script for non private libraries