Creating a qlf file gives an error

This is the same bug as reported by @CapelliC in Compiling s(CASP). Pushed a fix for that.