updates for fakeroot and x86_64 target