New: Dynamic compilation, taking architecture and version as input