Fix potential undefined reference warning