Out of source building

Moved files, and changed makefile, to do out of source build.
On Windows this will result in some rather nasty errors during build, 
about folders already being there, but it builds fine. (Errors are not an issue).

This should be cleaned up, but I have no knowledge of make.

Also it seems like github is not very good at detecting moves.