fixed build on linux. not running yet.