After installing MinGW on Windows I couldn't compile anything from command line because it doesn't search for headers or libs in the right folders. I installed Code::Blocks and added the directories under compiler options to solve this issue, but now I need to build the Boost library and bjam won't work because when it tries to compile with GCC the standard headers can't be found. How can I fix this?