Correctly open URLs with non-ASCII characters on Windows.

Fixes #1023
Use PlaySoundW to play sounds on Windows.

Fixes #1133
Fix out of source builds

Fixes #1018
win32: Fixed build break due to 7a4a024