Improved version detection to also work if mod_verion is not installed/active.