Fix the "does break strict-aliasing rules" warning

This warning breaks the standalone compilation because of -Werror.