change platform configure to hard-coded constant