Updated build configuration and code to work with CUDA 5.5.