CELIX-154: Applied (most of) the patch. Removed some compiler switches and other fixed to keep the changes limited to the echo example.

git-svn-id: https://svn.apache.org/repos/asf/celix/trunk@1628128 13f79535-47bb-0310-9956-ffa450edef68