Fix haiku build errors, add haiku shell script