Fix type linker flag