Fixed rebuild_fullpath.
Fixed error reporting with recursion in r:include.