Fixing compiler Warnings from GCC