Build fixes
Fixed compile warnings