Fix building on Haiku

For [this](http://www.google-melange.com/gci/task/view/google/gci2013/5814455925473280) task.
Crossposting a comment from the task in case you can help me:

>OK, I've almost built it. As in, I'm probably missing the symbols for the private headers. Do you know in which library I need to include?
>In other words, I'm getting undefined references for all and only the functions defined in private headers. It's the only thing that prevents me from building successfully. Do you know how to solve this?

>Nope, in the zip file of the binary only libAmKernel.so is included, which is in the list of the libraries loaded in the compilation command. I tried adding -lroot but that didn't work. -lbe is already added.
>FYI, the errors have to do with BColumnListView, BRow, BStringField etc, none of which is defined in /boot/system/lib or /boot/system/develop/lib (checked with grep).