Build fixes for main.go.
Build fixes for monster.go.