Apply repository changes. Fixes #41
Tweak appveyor configuration