Throw an error on weird platforms instead of using make's default rule.