Fix path issue when web server runs in different directory.