update JRI_MAIN_SRC to use the root