Upgrade to newest kdglib v5.0.1