Compile to extension