support library compiling