Fix compiling issue with some compilers / libcs