replace deprecated directives
Merge branch 'master' of https://github.com/openchange/openchange