fix

-Disable pthread for x86 and mips targets because it breaks on those
 builds.  We don't build for those targets anyways, only arm
-Disbale strict-aliasing