Add patch to fix build for bip.
Merge pull request #376 from pcapriotti/master

Fix bip build