add test code to check if file exists

similar to issue discussed in https://github.com/start-jsk/openrtm_aist_core/issues/1

currently openhrp3.1.pc provides following information.
```
prefix=/home/k-okada/ros/groovy/rtm-ros-robotics/openrtm_common/openhrp3
exec_prefix=${prefix}/bin
libdir=${prefix}/lib
includedir=-I${prefix}/include/OpenHRP-3.1 -I/usr/include/eigen3
idl_dir=${prefix}/share/OpenHRP-3.1/idl
link_shared_files=-lhrpCollision-3.1 -lhrpModel-3.1 -lhrpPlanner-3.1 -lhrpUtil-3.1 
link_static_files=-lhrpCorbaStubSkel-3.1
link_depend_dirs=-L/usr/lib/atlas-base/atlas -L/home/k-okada/ros/groovy/rtm-ros-robotics/openrtm_common/openrtm_aist_core/openrtm_aist/lib 
link_depend_files=-lblas -llapack -lboost_filesystem-mt -lboost_signals-mt -lboost_program_options-mt -lboost_regex-mt -ljpeg -lpng -lz -luuid -ldl -lpthread -lomniORB4 -lomnithread -lomniDynamic4 -lRTC -lcoil 
link_depend_options=-export-dynamic 
cflag_defs=
cflag_options=-Wall -fPIC -g -I/home/k-okada/ros/groovy/rtm-ros-robotics/openrtm_common/openrtm_aist_core/openrtm_aist/include -I/home/k-okada/ros/groovy/rtm-ros-robotics/openrtm_common/openrtm_aist_core/openrtm_aist/include/coil-1.1 -I/home/k-okada/ros/groovy/rtm-ros-robotics/openrtm_common/openrtm_aist_core/openrtm_aist/include/openrtm-1.1 -I/home/k-okada/ros/groovy/rtm-ros-robotics/openrtm_common/openrtm_aist_core/openrtm_aist/include/openrtm-1.1/rtm/idl 
```