Is the -DOIS_INCLUDE_DIR="/usr/lib" flag put here to just make it not fail when building?
If so there should probably be a comment about it.