Reverts back to static libraries, fixed the milions of pencv lib warning messages