made separate builds for debug and install, but install is broken
removed debug args from install
removed an unused variable
make install now correctly installs