Make sure filenames stay the same when using framework debug flag Reported by: bofh Approved by: portmgr (blanket, build fix)