[#858] don't access status after fork to avoid warnings on older compilers
[#858] boost fix for older compiler warnings