Take prompt from console from Linux

Fixes #964 temporarily until I can write a more elaborate fix using glfw

Because of this it is going to take some time.
http://www.glfw.org/faq.html#27__will_message_box_support_be_added_to_glfw