GameFile: Replace CoFileTimeNow() with GetSystemTimeAsFileTime().

Based on 7kaa commit 136d304.
Misc: Replace timeGetTime() with GetTickCount().

Ported from 7kaa commit 0e50ab6.
build: Minor fixes for MSVC builds.
Remove old Perl-based build system.

See 7kaa commit ac07484.