setup build enviroment