removed addheader in loadlibrary