Removed several compiler warnings
Set default OpenCL device to 0