Changes for clang

I've just added the option to compile NRE with clang (see https://github.com/TUD-OS/NRE/commits/clang). This required some changes and I've also fixed warnings that clang found. As soon as it has been merged into master, I can merge the clang-branch of NRE into NRE-master.