Change back to gcc with memory limit

Use ulimit to limit virtual memory usage.
clang is having problem looking up header files

/usr/include/features.h:324:10: fatal error: 'bits/predefs.h' file not
found

Signed-off-by: Lance Chen <cyen0312@gmail.com>