viewer sample adjusted
added NativeLibraryHelper that helps us to identify 32bit and 64bit libraries