Fixed linux compile errors

Issued caused by include chain cache of <curses.h>