simulator: add -Wall -Werror flags. Compilation succeeds, but linker still complains.