Compile variables