correct path in flash command for OSX build