perl: Build shared libperl

Signed-off-by: Marcel Denia <naoir@gmx.net>