GCC and CodeLite compatibility fixes.