Compile host code with -g if debugging enabled