Fixes compilation errors straight after fork.