nspr: Add rule to build dynamic libs or static libs.