Compile test sources on prepublish.