moved compiler checks to separate method
Updated readme