fixed the compile errors for DCT1D and DCT2D.

The package defines needed to be added to the modules, these
modules still need the manual conversions addressed.