Raise error when trying to build platform config for a platform not in the base config