Fix wrong configuration used for packaging