There are no *.lib files that could overwrite each other when building both static and shared versions of raylib at once. So just use the normal library name without _static suffix.