I have had the same problem with DIP switches and other DIP parts which are not ICs. The solution is to mount the DIP switch into an IC socket which has pins which are long enough. Or if you are despirate for a solution now, solder solid extension wires onto the DIP switch leads. Cut off resistor and small singal diode leads work well because they are stiffer than soft copper.