Improve linkage between proprietary libs

This should fix liboemcamera crash