Fix bug in posix Platform::executableDir