Fix tdeioslaves FTBFS when compiled in standalone.
This resolves bug report 1617.
Merge branch 'master' into tdehardwaredevices-splited