Removes some warnings with old gcc compiler.