SERVER-6405: fix os x compile with inlining