made the makefile a bit cross-platform