update precompile hook for dragonfly ~>1.0.0