If sharedLib is not set via xml to 'something', this cause NullPointerException