c++: automatically look for ART in RAYS_HOME