Fix compile errors
Merge remote-tracking branch 'origin/master'