Adding support for building using uc65 as a custom tool. Fixing error search regex to be more generic. Fixing APU mixing issue at end of sample buffer if sample size isn't an even divisor of sample buffer size.