Compile reference class package