Cleaning up compiler warnings.
Fixing travis, based on csherratt's in rust-opencl.