Under Publication 519, Chapter 8, you don't need to pay social security and medicare tax, unless you are considered a resident alien.