Finer grained compilation environment detection.