Fix paths when hosted in subdirectory