Fixed compile error on OSX after Linux support was added. (#190)