+fixed rt.cpp to compile with nvvm