Added release build checks to framework