Moved 'm_flags' to IProcess
Fixed build errors on Linux