fix rcp for 64bit windows and linux