Revert "updating makefiles for native build"

This reverts commit 386ed9f0e250b19eddb3f7c98fe03bf6a76829b7.