another fixes for code::blocks