build from settings fix for sub folder installs site name

This pull request fixes #28