Fix for compile with Clang. Thanks @Adwelean

Signed-off-by: Kevin <kevainxxx@gmail.com>