Fix Linux x86 pic build (Qt) for some versions of gcc

Also installs flash0/lang to the build dir.

-[Unknown]