Minor build settings changes to fix some warnings and ignore generated files