mongodb24: Fix installation failure on OSX10.8 or former

Closes #437.

Signed-off-by: Xiyue Deng <manphiz@gmail.com>