Fix compiler errors for cfg attributes with latest nightly rustc.