Added static linking option