asset purchase

Treating S Corporation Stock Purchases as Asset Purchases

Question: I am the owner of an S corporation which is purchasing another business operated by an S corporation. I have been advised that I am better off for both tax and liability reasons structuring the transaction as a purchase of the assets of the target corporation rather than a purchase of the stock of the target corporation. However, the target corporation has some licenses and other assets which are not readily transferable making it more beneficial to acquire the target corporation’s stock. Are there any options available to me to avoid the consequences of a stock purchase?