Fixed issues with Debug and compile constants