Link against dynamic library instead of static library.
Remove unused functions.
Bugfix, return OpenCL version number rather than setting it.