Consolidate stdlib compilation into dedicated makefile