Fix inclusions for g++ compliance.
Remove warnings.