Only modify typelibs on mac or linux