windows: added libcpmt.lib to list of ignored default libraries:
replaced windows condition implementation
merge from 2.2