Link needed libraries to libucuda when runtime is enabled