fix fastcomp detection; fixes #2072