opencv 2.4.9: Fix for Linuxbrew

Closes #1422