Fix linker issue for default libraries