Changed the makefile to make it more cross-platform-friendly.