fix compile warnings for CentOS
issue #383: updated documentation