Don't use pointers for basic C++ variables
Update Demo Player example
Update OS X packaging script