Added MAIN_FILE existence check.

Before compiling, the auto.mk now checks to see if the user supplied
MAIN_FILE variable represents an actual file. If it doesn't, the
make process is forcibly killed.

Also removed '-flto' due to g++4.8.2 issues.