Only set QT_QPA_PLATFORM if phantomjs fails without it