Fix for bug with development version detection