Add platform-specific path fiddling