Add publish settings
Make it compile with 2.10