use dirname instead of sub when deriving lib dir
Merge branch 'master' of https://github.com/Bioconductor/BiocCheck