hopefully working lib directory linking not enough testing though