filter version during build