Cleaning and added lib argument to makefile