Fixed compilation errors. (we still need to find out why pthread makes everything go FUBAR)
Fixed compilation errors. (we still need to find out why pthread makes everything go FUBAR)

kierenj/DCPUToolchain,kierenj/DCPUToolchain,kierenj/DCPUToolchain,DCPUTeam/DCPUToolchain,DCPUTeam/DCPUToolchain,DCPUTeam/DCPUToolchain,DCPUTeam/DCPUToolchain