Enable option to fail build on warnings