Using .NET PInvoke for Linux system functions