cleanup the VexCL code a bit