Fixed OpenCS build on OS X