Made Makefile more cross-platform