Remove unix if defs for cmake.