soc/soc-core: Fix build