fix feature definition and Makefile case insensitivity