Attempt to fix warnings, and added build tools explicitly for ci.