openh264: Add proper configure check and use correct include paths

This will need changes in the build scripts though