rm platform dependant file