Fixed automatic version number generation