re #147 re #149 changes to get a clean build with no memory leaks by turning off /osf - may break linux compatibility