add 2 helper macros to deal with libtool madness