Fix rodinia compile option

Now gdev's CUDA library becomes libucuda.
Move LIBS to the end of build command line to build on Ubuntu 12.04