Remove APPLE check in CMake, it seems to break on older versions