Add delimiter api for retrieving nodes

and fixed build error in tests
and fixed build config for OS X