fixed configure environment path issue