Add LIBPATHS to makefiles