Fixed segfault in Process constructor