Use HOSTPLATFORM / *_HOST_OS (instead of TARGET equivalents), as we're dealing with host-specific properties, not that of the target.