fix compilation failures