modified make files to make the build process cross platform and one step