build: add custom -I/-L flags for the BSDs [2]

Fixup commit. .append() seems to to nothing.
build: make --disable-gl disable all the gl backends

Fixes #369