Add spec flag to build script