Added command line option -d to specify a directory for the fake sensor/actuator files when running on posix_pc.