Compiling lib