check glfw has been installed when installing glfw
Merge pull request #3667 from dabingnn/release30_bug_hot_fix

check glfw has been installed when installing glfw