Fix the platform paths