Fix for https://github.com/stephenc/jcip-annotations/issues/1
Also removed unused dependency on junit.