fixes for install, when not on debug system