Changing relative URLs to be relative to the root dir.

References #76