Fixed warnings on GCC