Fixed 64-bit detection for Windows.
Better makefiles.