do download and compilation at the first time only