impstats: solve build problem on FreeBSD

closes: http://bugzilla.adiscon.com/show_bug.cgi?id=458
solve build problem on FreeBSD

Thanks to Christiano for reporting this problem.