Added conditional compilation for IO ports
Modified Minmus library for new IO library