OS and arch detection for MongoDB installation