several small bugfixes

* AD3-source need to be deleted and downloaded again (by make externalLibs) after adding this commit in your source