LPC: initial work on NT/ROS compatibility.