Fixed compilation error.
Load kernel before parallel execution and unload after.
Fixed environment variables.
Write to correct pointers on returning cl device info.
Set program context when program object is created.