Fix an issue on some systems where SITE_ROOT was set incorrectly
Merge pull request #575 from DanielOaks/site_root_realpathfix

Fix an issue on some systems where SITE_ROOT was set incorrectly