fixed linux compiler issues