Fix error message for functions where getProcAddr fails.