Wait for sufficient OMX buffer space to become available
Fix build with boost 1.55.0. Thanks agherzan