Added error checking to make sure include paths actually exist