Fix for rust nightly
Add Cargo.lock to .gitignore
Fix build