set -q option and add libgl for LeapMotion SDK