Add link flags in order to link statically and without debug symbols