Pin build depencies. Fix import error.