Palantir to build surveillance database for U.S. government.