fixup makefiles for linux compile

REALLY not sure about this, please verify.

Signed-off-by: Matthew Khouzam <matthew.khouzam@gmail.com>