Fix for compile waring on Linux