Fix for Mac OS Alpha channel

Added Will‘s fix to add an Alpha channel for Mac OS in both demo files
and changed one declaration to enable the demos to run under the
upcoming version.