Adding a better way to do the API defines.

Removes the need for an explict setting of the API flag in the sconscript
and removes the <project>config.h header that sets the defines up.