Add config for speed
Fix build