altered libmisc to use gradle version