Alter build task to run dist after testing.