Convert mfsmount to C++, some automake fixes for linux - rest of the commit