Fixed issues with make scripts, and added a console header file.