Corrections for D1 compiler

Found that I wasn't building the library on previous tests. This address issues with D1 and const. Plus unneeded import.