Fix loading main.qml when not using resources