linux fixes - fix compile error and update documentation