fixes linux libraries Makefiles