adding library build to npm postinstall