This is usually due to XPCOM not being built standalone. Make sure you did configure --enable-standalone-modules=xpcom.

What's the difference between Standalone and non-Standalone XPCOM?

There is no binary difference between standalone XPCOM and the XPCOM that ships with the Mozilla browser. The one functional difference is that XPT files cannot be read from .zip files in standalone XPCOM.

TODO for v 1.0

Optional exclusion of specific features into standalone XPCOM like registry, xpconnect. Tweeking these options will cause reduction in memory requirements and size.