fixed linux support.
continuing to fix linux support issues...