added missing defines and scanning bool

Signed-off-by: John-Nicholas Furst <J-N@John-Nicholas.Net>