Support arch

this pull request includes patch reported in https://github.com/start-jsk/openhrp3/issues/26, which is also reported to upstream (https://openrtp.jp/redmine/issues/2172)