Refactored KindleGen version check