changed makefiles to use relative paths