I've just added a new environment variable to mintlib which allows the runtime stacksize to be overridden. Use STACKSIZE=<value in bytes>