Fixed boost multi-index compile issues with GCC