install: Removed lib dir assumptions

Replaced literal 'lib' with source relative lib directory. mingw32 uses 'bin'
instead of 'lib'. Closes #13810.