Improved Makefile

Use a saner Makefile. It now compiles in a standard GNU environment (g++),
as well as in a proper MinGW environment (with the necessary tools).