Set 'expected_version' of built-in and dummy modules according to