install packages before build