Refactor OpenCL stub to a proper library

Wrappers test is failing