Fixed cmake typo
Fixed compiler warning
Fixed so mongoose builds on windows
Fixed so controllers can override handles function