Clean up binary path functions