Change build order to first build SWIG module before staging python modules