Added dynamic module compilation check