fix build cuda binaries