added support to detect for msim support and apply patches accordingly
Merge pull request #2 from rutvik95/master

added support to detect for msim support and apply patches accordingly