fix compile issue on OS X

See https://github.com/codeboost/opencv-node/pull/10/files