compile error fixes for linux