Fixed bug in GLRenderer2, set up libraries properly.