Updates to build with prime-* libs.
Build fixes.
Build fixes for parser.js.