Procedure for detecting pre-processor variables defined in compiler and assuring desired compilation settings