added workaround for resources not being foud on debian based distros, #362