Fix for the problem that the mesa libraries (e.g. gl.library) weren't