Fix for missing strsplit function on older Matlab versions.