dynamic selection of debug and release librarieS