Raise error when trying to build platform config for a platform not in t...

...he base config