Fixed path related problems in building docs.