Also remove OS X specific project files and update Makefile to ensure the Element class generator only runs when necessary