use debug versions in debug target, production versions in package target

see #344