Moved some more OS-specific functions into the MUtilities library.