add exit trap
Merge pull request #125 from k-okada/update_robot_hrpsys_compile

add exit trap