Fix building of headless QPA extension on Arch