Cross-platform support (osx)