syncfiles: use the same regexp for hints as mkdep uses