Reorder sandbox pre-build hook after installing extra OS packages