Fix build to link against the real gl libraries