cleaner unifier; added definelib_headeronly for header only libraries