fixed logging issues in OpenCL build, closes #119