Add patches for support Haiku (https://www.haiku-os.org)