Conveted stdlib_heapsort to main_template. Makefile getting out of hand