Fixed '(use -source 5 or higher to enable for-each loops)' error