make both static and shared glhost