fix compile bugs

2 jobs for dev in 3 minutes and 27 seconds (queued for 3 seconds)