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
Merge pull request #1 from Constellation/compile

Fix rodinia compile option