Add $(shell ...) substitution (fix #102).

This is an updated version of the patch by Isaac Isao Saito's in https://github.com/ros/ros_comm/issues/102.