Compile derby on prepublish