Fix some compilation warnings (GCC).