symantic improvements
fix building on linux