getting toroid to build in release mode again