Proper atexit from dietlibc and added compiling tutorials