common: Move environment choice to Kconfig