Derp.  It helps to actually check for platform validity.