when building do a check that doesn't ungracefully exit