Fix compile with newer nat library