Improve library setup for higher level target languages