caching native target triple and target machine creation