Fix DSM5 toolchains
Merge pull request #941 from Dr-Bean/tcfix

Fix DSM5 toolchains