Workaround for const problem in Nougat