Revert "try to fix some build errors"

This reverts commit 63b9a40730a93ad98d88ac6a8f07ebc59e77c1c0.
Revert "enable debugging"

This reverts commit fed4c8fc919024abf31a58b612e3ecb7504aa4ce.