I had to remove NO_GET_XPT=1 line from Makefile.in.
This was causing the following error at run time:
JavaScript error: uncaught exception: Could not convert JavaScript argument (NULL value can not be used for a C++ reference type) arg 0 [nsIRDFResource.QueryInterface, {file: file:////builds/sspitzer/MOZILLA/06.16.1999/04.30/mozilla/dist/bin/chrome/addressbook/content/default/resultPane.xul, line: 160}]