lobstr: modernize autotools deps
opencv: Add --with-opengl option

Closes #1336.