Port nsbcompile to npa-devel