Moved to library version of discount instead of compiling it every time.