modified makefile to allow the library folder to actually be called lib without having a circular dependency