Merge pull request #1 from Kijewski/cv-dep

Automatically add vtimer dependency to CV
Add posix conforming rwlock