SERVER-6405: fix os x compile