fixing code::blocks