Downgrade stm minimum version to 2.4