Refactored and added support for gyp edge cases
v0.2.30 supports gyp edge case (DTrace)