include required platform.h in cconfig.h

closes #1
Merge branch 'master' into pvs/include-restructure