Jack2 (versions 1.X.X) does only have that API in svn. Limmit the use of the new API for jack1 versions.