Updated to support linux compilation.

Signed-off-by: acappiello <acappiel@andrew.cmu.edu>