support cuda build on maxwell