fix libtwin compile on non-powerpc devices