ensure platform specific paths