Remove shell script, add NS_ENUM define for backwards compatibility