Use the correct version information in the unit test.
Guard against variable name clashes.
Don't use -fvisibility=hidden with non-gcc compilers.
TO_NATIVE_PATH escapes white-space on Linux. Do manual conversion.