fix gcm supported platform detection logic