Added a check to support library names like 'libglfw.3.0.dylib', with version info in the middle instead of the end. Removed an accidental german variable name.