adjust location of .h check because gen=sourcemanaged (#85)