Fix error message for unsupported platform