Fix build on OSX

Signed-off-by: Fred Bricon <fbricon@gmail.com>