substitute VPVL2_D* macros to empty if debug is disabled
fixed compile errors on Windows(MSVC)/Linux