uses hacks to compile libXm.a with PIC objects, which means trying to statically link with it breaks the build on amd64.