Merge branch 'development' into dtls

* development:
  Fix -fPIC when cross-compiling to windows