Extracting the charm cross-section from its semileptonic decay at RHIC