nativised detect_arch for solaris