qemu: enable PIE; added cross build supported based on patch from @chneukirchen.