Modified to create a static lib from project objects.
The provided static lib was not using the correct optimizations.