get rid of errors by #if-ing most of the code out

Signed-off-by: Dylan Borg <borgdylan@hotmail.com>