cmake: ignore patch version on APPLE (fails with BSD date)