Improve Linux compatibility

Construct constants for communicating with smartcard based on OS platform.  I extracted the form of the linux constants from reader.h from libpcsclite 1.8.8.