Convert mfsmount to C++, some automake fixes for linux