Fix POSIX support for NazaraCore.