Detect Coffee version and use correct compiler switch