made it buildable on linux again
added TODO