necessary changes on linux due to restructuring of dist