Fixing how installer guesses the latest version

Use github API to get the latest release version
related to #251