Correct paths.
Replace GetExecutableDir with FixBinaryPath or GetExecutablePath. Fix tests on MSVC.