fix linux linker error

Fix Jenkins CI linux server compile error.  
The fix is not perfect, but it works. 
Note: if you want to change glfw link flag, be careful about the linker order.

For more info, please refer to : http://stackoverflow.com/questions/17768008/how-to-build-install-glfw-3-and-use-it-in-a-linux-project