added flag to switch between normal and debug libs