fix initial cmake run regarding containers

before the make containers script wasn't run early enough for some things
like swig dependencies. Now it is.