Move command skeleton
Explicitly include <stdarg.h> in ncurses.h

It was implicitly included otherwise, and this was relied on.