[utils] fix compiling issue under linux