Clang warnings

These commits fix some of the warnings the Clang compiler spits out during compilation of the GCS.