bugfix:
- fix g++ compiler warnings
- fix creation oder between taskscheduler and platforminterface.