Smarter app version parsing