diverse build issues for linux fixed