Use master version of dlib to enable jpeg support; enable OPENGL for windows builds