Fixed build errors

Signed-off-by: Andreas Larsen <northcode.no@gmail.com>