cleaned up build issues on linux