better attach detection in builds