Update of GL dectection in the build system