Library build rules moved to src