fixed the build on 2.2.x after pull request #102 broke it