Initial work on Windows 64-bit build

everything compiles after some minor modifications
May need to look into some pointer to int conversions that don't look
pretty. Maybe use size_t instead?
Next will be creating the gtk2 installer.