Revert "Fixed framework search path issues"

This reverts commit c2f09632d541823f9ae8abf8ed87c2954a46bc2c.