Fix: strict aliasing in library

Fixes #28

Signed-off-by: David Goulet <dgoulet@ev0ke.net>