Fixed win64 build

Also fixed building of Arika-qt on Windows