TRUNK-4378 Modules using conditional loading should not fail on older versions

(cherry picked from commit adc56e8a12fa61b65c8437326fd15d03fdf98819)