compiler, yatomic: Fix compiler checks

yref: Remove unused headers