fix issue where ruby mkmf is setting libpath.
fix white space issue.
Merge pull request #339 from ClogenyTechnologies/kd-mkmf-fix

Fix issue where ruby mkmf is setting libpath.