build pic-env