Added a way to do static linking