simple gl program to check libraries