remove win and mac cruft