Removed g++ warnings.