Fixed undefined reference to NHibernate