fix build issues
Merge branch 'master' into race-detection