fix precompilation by separating runtime initialization into __init__ (see #28)