There are some differences between Harbour and xHarbour.
Harbour hb_compileBuf() is very powerfull as no external Harbour.exe is required. xHarbour should provide it.
Also, as you have seen, __HrbRun() is a little different too. But using it with HRB files from disk, they will behave the same.