Fix warnings when compiled on latest master

Signed-off-by: Casey Dahlin <casey.dahlin@gmail.com>