fix makefile.lib