fixing resource path issues on linux