Fixed old compiler gcc issues.