adds static and dynamic library compiling