fix compilation on arch