Reverted compilation tests. Added runprogram as exported symbol.