Fix makefiles for unix