5th amendment only applies in criminal cases: "nor shall be compelled in any criminal case to be a witness against himself". Doesn't cover border crossings or visa applications.
Right, and the areas around the border have been called by the ACLU "Constitution-free zones". Basically the government says if you're within 100 miles of the border and have crossed or are likely to cross, your Constitutional rights no longer exist.