Compiler Optimization to Prevent Side Channel Timing Attacks