Linux (non-ROS) compatibility improvements.