revert to the good old way of only building static library (since we are still changing the API)