[loader] fix 64bit build