Cleanup makefile.
Add support for compiling on windows. (Some paths still hardcoded.)
Reorganized files a bit.