gnu++0x compatibility for RIOT

The changes/fixes enable to compile RIOT using g++0x std. and g++.
They have been tested against the native port and the default-native project.