fix error when building it in OS x 10.9 with libc++
Merge pull request #18 from fran6co/libc++

fix error when building it in OS x 10.9 with libc++