Changed several build settings to match a working static library.
Updated a few more build settings to compile correctly as a static lib.