Fix OS-specific path handling in setup.py