Fixed local paths in wwwmain.cpp and added a library it needed.