Fix to https://github.com/start-jsk/hrpsys/issues/25 and also other building issues that seem to be rooted in openhrp3.