Need to call out shared and static in the add_library lines.