Make it build/run on Haiku

Yeah! Makefiles added!
For GCI task http://google-melange.appspot.com/gci/task/view/google/gci2013/6415709403873280!