Removed linking with cuda libraries.