fixed bar descriptors to work for every build configuration
Merge pull request #166 from CodeHoarder/master

fixed bar descriptors to work for every build configuration