Fix compile errors

Curses, using the github text editor.