Fix dynamic stub issue in 64bit