automatically set RLIMIT_CORE for debug builds and make debug builds default