Removing defs for os checking