Fix for gcc errors.