remove platform specific dependencies