config usage has been implemented
linux compilation has been fixed