Fixed Bug #7189

http://hercules.ws/board/tracker/issue-7189-warning-while-recompiling-using-centos5/
Signed-off-by: shennetsind <ind@henn.et>