Compile with shadows & OSX

Try:

#define CG_FRAMEWORK Cg
#define CG_LIBS

David