Generic Compiler Wrapper