tips on writing protable c pragram