src: fixed mistakes for Boost.Config with gcc