fixed build system eccentricities for some Linux variants