fix Mac OS X boost compile error