temporary fix for #584, Mac OS X strip doesn't support regex