Updated project settings and fixed warning when building library