Ignore backup (...~) files
Fix spelling of included header
Explicitly include GL/glx.h if building on Linux