Forgot to make the flag constants depend on c::consts, instead of rehardcoding them. This commit fixes it.