Fixed CodeBlocks build for c++11

Does what it says on the tin.