SERVER-14413 Fix warnings inside MMAPV1 metadata operations
SERVER-14668 Fix for commit c069fc13a9 which broke OSX build